<center>
	<h1><?php echo $transStatus;?></h1>
<table id="background-image" summary="Meeting Results">
	<thead>
		<tr>
			<th scope="col">Name</th>
			<th scope="col">Value</th>
			<th scope="col">Description</th>
		</tr>
	</thead>
	<tfoot>
		<tr>
			<td align="center" colspan="4"></td>
		</tr>
	</tfoot>
	<tbody>
		<tr>
			<td><strong><i>Merchant ID </i></strong></td>
			<td><?php
			echo $merchantID;
			?></td>
			<td>Được cấp bởi OnePAY</td>
		</tr>
		<tr>
			<td><strong><i>Merchant Transaction Reference</i></strong></td>
			<td><?php
			echo $merchTxnRef;
			?></td>
			<td>ID của giao dịch gửi từ website merchant</td>
		</tr>
		<tr>
			<td><strong><i>Transaction OrderInfo</i></strong></td>
			<td><?php
			echo $orderInfo;
			?></td>
			<td>Tên hóa đơn</td>
		</tr>
		<tr>
			<td><strong><i>Purchase Amount</i></strong></td>
			<td><?php
			echo $amount;
			?></td>
			<td>Số tiền được thanh toán</td>
		</tr>
		
		<tr>
			<td><strong><i>VPC Transaction Response Code </i></strong></td>
			<td><?php
			echo $txnResponseCode;
			?></td>
			<td>Mã trạng thái giao dịch trả về</td>
		</tr>
		<tr>
			<td><strong><i>Transaction Response Code Description </i></strong></td>
			<td><?php echo $responseMessage;
			?></td>
			<td>Trạng thái giao dịch</td>
		</tr>
		<tr>
			<td><strong><i>Message</i></strong></td>
			<td><?php
			echo $message;
			?></td>
			<td>Thông báo từ cổng thanh toán</td>
		</tr>
<?php
// only display the following fields if not an error condition
if ($txnResponseCode != "7" && $txnResponseCode != "No Value Returned") {
	?>
            <tr>
			<td><strong><i>Transaction Number</i></strong></td>
			<td><?php
	echo $transactionNo;
	?></td>
			<td>ID giao dịch trên cổng thanh toán</td>
		</tr>
		
<?php
}
?>    
	</tbody>
</table>
</center>